|
|
news: kav### [at] netplexaussieorg...
> How do I find a plane that passes through 3 points in space?
>
> --
> Kaveh
In pov dialect:
#include "functions.inc"
#declare A=<2,0,0>; // whatever
#declare B=<0,1,0>; // whatever
#declare C=<0,4,5>; // whatever
plane {
vcross(B-A,C-A)
vdot(A,vnormalize(vcross(B-A,C-A)))
pigment{color rgb 1}
finish{ ambient .5}
}
--
Pascal.
Post a reply to this message
|
|